package com.yunji.common.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDO;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("ts_notice")
@NoArgsConstructor
public class NoticeDO extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Long noticeId;
    private Integer messageType;
    private Integer noticeType;
    private String noticeTitle;
    private String noticeContent;
    private String loginType;

    public NoticeDO(Integer messageType,Integer noticeType,String noticeTitle, String noticeContent, String loginType) {
        this.messageType = messageType;
        this.noticeType = noticeType;
        this.noticeTitle = noticeTitle;
        this.noticeContent = noticeContent;
        this.loginType = loginType;
    }
}
